package HomeWorkNewYear;

public class ooDay01Person {
    String name;
    int age;
    String address;
ooDay01Person(){
}
    ooDay01Person(String name,int age,String address) {
    this.name = name;
    this.age =age;
    this.address = address;
}
void eat() {
    System.out.println(age+"岁的"+name+"正在吃东西");
}
    void sleep() {
        System.out.println(age+"岁的"+name+"正在睡觉");
    }
    void sayHi() {
        System.out.println("大家好我叫"+name+"今年"+age+"岁了，家住在"+address);
    }
}
